package com.example.k8s.hello.service.exam.config;

import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ExamSwaggerConfig {
    @Bean
    public GroupedOpenApi examApi() {
        return GroupedOpenApi.builder()
                .group("考试管理").packagesToScan("com.example.k8s.hello.service.exam")
                .build();
    }
}
